#include <map>

#include <aki/jsbind.h>

void Foo(std::map<std::string, int> obj)
{
    for (auto& iter : obj) {
        AKI_LOG(INFO) << "key: " << iter.first << ", value: " << iter.second;
    }
}

JSBIND_GLOBAL() {
    JSBIND_FUNCTION(Foo);
}

JSBIND_ADDON(map_for_object);